<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="com.gec.domain.User"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<%
User user=new User();
user.setUsername("汪政");
user.setPassword("123");
%>
姓名<%=user.getUsername() %>
密码<%=user.getPassword() %>

</body>
</html>